package com.evildog.workspace.life.application.service;

import com.evildog.workspace.dependencies.mybatis.object.QueryConditionDTO;

import com.evildog.workspace.common.object.PageQuery;
import com.evildog.workspace.common.result.PagedResult;
import com.evildog.workspace.life.application.bo.NoteBookPageBO;
import com.evildog.workspace.life.application.bo.NoteBookListBO;
import com.evildog.workspace.life.application.bo.NoteBookBO;
import com.evildog.workspace.life.application.dto.NoteBookPageDTO;
import com.evildog.workspace.life.application.dto.NoteBookListDTO;
import com.evildog.workspace.life.application.dto.NoteBookDTO;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.evildog.workspace.life.application.entity.NoteBook;

/**
 * <p>
 * noteBook Service
 * </p>
 *
 * @author evildog
 * @since 2020-08-02
 */
public interface NoteBookService extends IService<NoteBook> {

    /**
    * 自定义分页
    */
    PagedResult<NoteBookPageBO> getPageList(PageQuery query, List<QueryConditionDTO> queryConditions, NoteBookPageDTO pageDTO);

    /**
    * 获取List
    */
    List<NoteBookListBO> getList(List<QueryConditionDTO> queryCondition, NoteBookListDTO dto);

    /**
    * 获取详情
    */
    NoteBookBO getDetailById(Long id);

    /**
    * 更新
    */
    boolean updateById(Long id, NoteBookDTO param);

    /**
    * 保存
    */
    boolean save(NoteBookDTO param);
}
